package com.wordLearning.word.application.convert;

import com.wordLearning.word.application.dto.FavoriteWordDTO;
import com.wordLearning.word.domain.entity.FavoriteWordBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface FavoriteDTOConverter {
    FavoriteDTOConverter INSTANCE = Mappers.getMapper(FavoriteDTOConverter.class);

    FavoriteWordBO convertFavoriteDTOToBO(FavoriteWordDTO favoriteWordDTO);

    FavoriteWordDTO convertFavoriteBOToDTO(FavoriteWordBO favoriteWordBO);
}
